package org.academy.funfair;

import org.academy.funfair.dbchecker.DbChecker;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FunfairAutoConfiguration {

	@Bean
	@ConditionalOnMissingBean
	public static DbChecker dbChecker() {
		return new DbChecker();
	}

}
